require 'spec'
require 'funfx'

require 'funfx/browser/firewatir'
BROWSER = FireWatir::Firefox.new

URL = "file:///D:/Projects/flex-code-examples/flex-code-examples/trunk/src/spring-hibernate-blazeds/flex/bin-debug/main.html"

Before do
  BROWSER.goto(URL)
  @flex = BROWSER.flex_app('main', 'main')
end

at_exit do
  BROWSER.close
end